package com.ruoyi.stock2.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 从es中查询与模型相似股票的行业对象 search_from_es_industry
 * 
 * @author ruoyi
 * @date 2021-09-08
 */
public class SearchFromEsIndustry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 日期 */
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 行业 */
    @Excel(name = "行业")
    private String industry;

    /** 行业个数 */
    @Excel(name = "行业个数")
    private Long industryCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }
    public void setIndustryCount(Long industryCount) 
    {
        this.industryCount = industryCount;
    }

    public Long getIndustryCount() 
    {
        return industryCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createDate", getCreateDate())
            .append("industry", getIndustry())
            .append("industryCount", getIndustryCount())
            .toString();
    }
}
